package com.mall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xiao-chen
 * @since 2023-04-20
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 批量禁用用户状态
     *
     * @return int
     * @author cxx
     * @date 2023/4/28 20:11
     * @param    userIds 用户id集合
     */
    int updateStatusBatchById(@Param("userIds") List<Long> userIds);
}
